package io.renren.modules.sys.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.sys.entity.SysNameEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SysNameDao extends BaseMapper<SysNameEntity> {

    @Select("SELECT id, name FROM sys_name limit 1")
    SysNameEntity findOne();
}
